use crate::actor::ActorRef;
use crate::workflow::state::WorkflowStatus;
use crate::workflow::errors::WorkflowError;

#[derive(Debug)]
pub enum Message {
    StartWorkflow,
    StepStarted {
        step_name: String,
    },
    StepCompleted {
        step_name: String,
        result: Result<(), WorkflowError>,
    },
    SetMonitor {
        actor: ActorRef,
    },
    WorkflowCompleted {
        status: WorkflowStatus,
    },
    Execute,
    Rollback,
} 